from task.base.baseApi import Base
import allure
import task.pageObject
class PageCart(Base):
    @allure.step("点击删除按钮")
    def click_delete(self):
        self.base_click(task.pageObject.loc_cart_delete)

    @allure.step("点击确认按钮")
    def click_confirm(self):
        self.base_click(task.pageObject.loc_cart_confirm)

    @allure.step("点击取消按钮")
    def click_cancle(self):
        self.base_click(task.pageObject.loc_cart_cancle)